'''
Created on 2011-11-14

@author: Administrator
'''
import os
import Queue
import struct
import datetime
foxtrader='d:\\foxtrader'
foxdata_rootpath='e:\\foxdata'
shareholderpath=os.path.join(foxdata_rootpath,'shareholder')
shareholderresultpath=os.path.join(foxdata_rootpath,'shareholderresult')
rawcontentpath=os.path.join(foxdata_rootpath,'rawcontent')
errordatapath=os.path.join(foxdata_rootpath,'errorlog')
jobtodopath=os.path.join(foxdata_rootpath,'jobtodo')
stockbydatepath=os.path.join(foxdata_rootpath,'bydate')
stockbycodepath=os.path.join(foxdata_rootpath,'bycode')
stockfirstdate='2000/1/1'
defaultfirstdate=20000101
urlqueue=Queue.Queue()
g_jobsnumber=0
workers_number=150
threadtimeout=5
manthreadtimeout=8
reglist=['CH','HK','US']  
def myfloat(src):
    if len(src.strip())==0:return 0
    return float(src)
if __name__ == '__main__':
    start=datetime.datetime.now()
    end=datetime.datetime.now()
    print (end-start).seconds
    print 4!=5
#    simplejson.dump(reglist,open(fname,'w'))
